package com.zhengjiang.log4j2.demo.model.enums;

import lombok.Getter;

/**
 * @ClassName ResponseCodeEnum
 * @Description
 * @Author zhengjiang(99514925 @ qq.com)
 * @Date 2020-06-24 17:11
 * @Version V1.0
 **/
@Getter
public enum ResponseCodeEnum {

    SUCCESS("0000","成功"),
    PARAM_ERROR("0001","参数错误"),
    DB_SAVE_ERROR("0010","数据库保存异常"),
    DB_UPDATE_ERROR("0011","数据库更新异常"),
    SYSTEM_ERROR("9999","系统异常")
    ;

    ResponseCodeEnum(String code,String msg){
        this.code = code;
        this.msg = msg;
    }
    private String code;
    private String msg;
}
